package encapsulation;

/**
 * @classname:CalculatorTest
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/28 10:02
 * @version: 0.1
 * @since:1.8
 */
public class CalculatorTest {
    public static void main(String[] args) {
        Calculator ca = new Calculator();
        ca.setNum1(10);
        ca.setNum2(34);
        ca.setOperate("+");
        System.out.println(ca.operation());

    }
}
